!/bin/bash

WORKDIR=`pwd`

####################################
# build shoc benchmark for corex #
####################################

# common build
echo "#### start build common ####"
cd ${WORKDIR}/src/common/
./build.sh
cd ${WORKDIR}/src/cuda/common/
./build.sh
cd ${WORKDIR}
echo "#### end build common ####"


# level0
echo "#### start build level0 bench ####"
cd ${WORKDIR}/src/cuda/level0/
./build.sh
cd ${WORKDIR}
echo "#### end build level0 bench ####"
